package com.siashan.unipay4j.wx;

import com.siashan.unipay4j.core.IBaseEnum;

/**
 * 微信支付公钥类型
 *
 * @author siashan
 * @date 2025-01-10
 **/
public enum WxPayPublicKeyTypeEnum implements IBaseEnum<String> {
    /**
     * 平台公钥
     */
    PLAT_PUBKEY("PLAT_PUBKEY","平台公钥"),
    /**
     * 微信公钥
     */
    WX_PUBKEY("WX_PUBKEY","微信公钥"),

   ;



    private String value;
    private String desp;

    WxPayPublicKeyTypeEnum(String value, String desp) {
        this.value = value;
        this.desp = desp;
    }


    public void setValue(String value) {
        this.value = value;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }

    /**
     * 获取枚举value值
     *
     * @return T
     */
    @Override
    public String getValue() {
        return this.value;
    }

    /**
     * 获取枚举desp值
     *
     * @return desp值
     */
    @Override
    public String getDesp() {
        return this.desp;
    }
}
